package com.gdit.zax.entitys;

import java.sql.Timestamp;

/**
 * 视频观看、下载记录类
 * @author lenovo
 *
 */
public class VideoRecord {
	private int UserId;
	private int VideoId;
	private int courseId;
	private int sectionid;
	private int Show;
	

	public int getCourseId() {
		return courseId;
	}
	public void setCourseId(int courseId) {
		this.courseId = courseId;
	}
	public int getSectionid() {
		return sectionid;
	}
	public void setSectionid(int sectionid) {
		this.sectionid = sectionid;
	}
	public int getUserId() {
		return UserId;
	}
	public void setUserId(int userId) {
		UserId = userId;
	}
	public int getVideoId() {
		return VideoId;
	}
	public void setVideoId(int videoId) {
		VideoId = videoId;
	}
	public int getShow() {
		return Show;
	}
	public void setShow(int show) {
		Show = show;
	}
	
	
	
	private int id;
	private Timestamp addtime;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getAddtime() {
		return addtime.toString().replace(".0", "");
	}
	public void setAddtime(Timestamp addtime) {
		this.addtime = addtime;
	}
}
